const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  // 关闭eslint
  lintOnSave:false,
  transpileDependencies: true,
  // 不设置自动弹出默认是0.0.0.0:8080
  devServer: {
    open: true,
    host: 'localhost',
    port: 80,
    proxy: {
      // API 地址
      "/api": {
        target: "http://localhost:8081",
      },
    },
  }
})

